/**
 * Created by jack on 2016/11/18.
 */

$(document).ready(function(){
    if($(window).height() > ($(document).height()-$(".footer").outerHeight())){
        $(".footer").css({
            position: "absolute",
            bottom: 0,
            right:0,
            left:0
        })
    }
});